.class public Lcom/waiqin365/lightapp/kaoqin/a/g;
.super Landroid/widget/BaseAdapter;


# instance fields
.field public a:Ljava/util/List;

.field private b:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;)V
    .locals 0

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/a/g;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public a(I)Lcom/waiqin365/lightapp/kaoqin/c/a/d;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt p1, v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;

    goto :goto_0
.end method

.method public a(Lcom/waiqin365/lightapp/kaoqin/c/a/d;)V
    .locals 1

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/a/g;->notifyDataSetChanged()V

    :cond_0
    return-void
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 9

    const/16 v5, 0x8

    const/4 v8, 0x0

    const/4 v7, 0x0

    if-nez p2, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0302b1

    invoke-virtual {v0, v1, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/a/j;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/a/j;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/g;)V

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    const v0, 0x7f0c0d68

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->a:Landroid/view/View;

    const v0, 0x7f0c0d72

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->b:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0d69

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0d6a

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->d:Landroid/widget/TextView;

    const v0, 0x7f0c0d6c

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->e:Landroid/widget/TextView;

    const v0, 0x7f0c0d6e

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->f:Landroid/widget/TextView;

    const v0, 0x7f0c0d70

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0d71

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    :goto_0
    if-nez p1, :cond_3

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->a:Landroid/view/View;

    invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne p1, v0, :cond_4

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v7, v7, v7, v7}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->a:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;

    if-eqz v0, :cond_1

    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->g:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    const v4, 0x7f08041d

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f020278

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v5}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_0
    :goto_3
    sget-object v2, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v3, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v2, v3}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_a

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    const/high16 v3, 0x41400000    # 12.0f

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextSize(F)V

    :goto_4
    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->d:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->d:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->e:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->f:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->e:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v2, "0"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->h:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_b

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->g:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    const v3, 0x7f080442

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->g:Landroid/widget/TextView;

    const-string/jumbo v1, "#55ACEE"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    :cond_1
    :goto_5
    return-object p2

    :cond_2
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/a/j;

    move-object v1, v0

    goto/16 :goto_0

    :cond_3
    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->a:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_4
    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->b:Landroid/widget/LinearLayout;

    const/16 v2, 0x14

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->c(I)I

    move-result v2

    invoke-virtual {v0, v2, v7, v7, v7}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    goto/16 :goto_2

    :cond_5
    const-string/jumbo v2, "2"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->g:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_6

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    const v4, 0x7f080423

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f02027c

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_6
    const-string/jumbo v2, "3"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->g:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_9

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    const v4, 0x7f080421

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f02027a

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v2, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->a:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->k:Ljava/lang/String;

    const-string/jumbo v4, "0"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->k:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_7

    const-string/jumbo v4, "2"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->k:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_7

    const-string/jumbo v4, "3"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->k:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_7

    const-string/jumbo v4, "99"

    iget-object v5, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->k:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_8

    :cond_7
    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f020294

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v4}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result v5

    invoke-virtual {v4}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result v6

    invoke-virtual {v4, v7, v7, v5, v6}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v5, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v5, v4, v8, v8, v8}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v4, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    const v5, 0x7f020296

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setBackgroundResource(I)V

    iget-object v4, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v4, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v4, v7}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v4, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    new-instance v5, Lcom/waiqin365/lightapp/kaoqin/a/h;

    invoke-direct {v5, p0, v2, v3}, Lcom/waiqin365/lightapp/kaoqin/a/h;-><init>(Lcom/waiqin365/lightapp/kaoqin/a/g;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_3

    :cond_8
    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f020293

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result v3

    invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result v4

    invoke-virtual {v2, v7, v7, v3, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v3, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v3, v2, v8, v8, v8}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v7}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v7}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    const v3, 0x7f020295

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setBackgroundResource(I)V

    goto/16 :goto_3

    :cond_9
    const-string/jumbo v2, "4"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->g:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    const v4, 0x7f080422

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f02027d

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_a
    iget-object v2, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->c:Landroid/widget/TextView;

    const/high16 v3, 0x41800000    # 16.0f

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextSize(F)V

    goto/16 :goto_4

    :cond_b
    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->h:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_c

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->g:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    const v3, 0x7f08003a

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->g:Landroid/widget/TextView;

    const-string/jumbo v1, "#51BD89"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_5

    :cond_c
    const-string/jumbo v2, "2"

    iget-object v0, v0, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->h:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->g:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/a/g;->b:Landroid/content/Context;

    const v3, 0x7f080444

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, v1, Lcom/waiqin365/lightapp/kaoqin/a/j;->g:Landroid/widget/TextView;

    const-string/jumbo v1, "#f5564d"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_5
.end method
